Carbon


PBSetVolAsync

Header: Files.h Carbon status: Unsupported

Changes the default volume and default directory.

OSErr PBSetVolAsync (
    ParmBlkPtr paramBlock
);
paramBlock

A pointer to a basic File Manager parameter block.

function result

A result code.

DISCUSSION

The relevant fields of the parameter block are:

If you pass a volume reference number in ioVRefNum, the PBSetVolAsync function makes the specified volume the default volume and the root directory of that volume the default directory. If you pass a working directory reference number, PBSetVolAsync makes the specified directory the default directory, and the volume containing that directory the default volume.

AVAILABILITY

Not supported in Carbon. Not available in Carbon.

CARBON NOTES

Obsolete. Use PBHSetVolAsync instead.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)